package com.tm.behavior.controller;

import com.tm.behavior.service.ApCollectionService;
import com.tm.media.model.dtos.BehaviorDto;
import com.tm.media.model.vo.NewVo;
import com.tm.media.utils.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Author Ly
 * @Data 2023/3/8 19:12
 * @ClassName ApCollectionController
 */
@RestController
@RequestMapping("api/v1/behavior")
public class ApCollectionController {
    @Autowired
    private ApCollectionService apCollectionService;
    @PostMapping("collection_behavior")
    public Result collection_behavior(@RequestBody BehaviorDto behaviorDto){
      return   apCollectionService.collection_behavior(behaviorDto);
    }
}
